package com.lsw.jgyf.ui.fragment;


import com.lsw.jgyf.model.BannerModel;
import com.lsw.jgyf.model.HomeFragment1Model;
import com.lsw.jgyf.model.PhoneModel;
import com.lsw.jgyf.ui.base.presenter.IPresenter;

import java.util.List;

/**
 * Created by lsw on 2017/12/7.
 */

public class HomeFragment1Contract {
    interface View {
        void setData(List<HomeFragment1Model.PhoneListEntity.DataEntity> list,boolean ispage);

        void setBanner(List<HomeFragment1Model.BannerListEntity.DataEntity> list);

        void RefreshSucceed();

        void RefreshFail();
    }

    interface Presenter extends IPresenter<View> {
        void getData(String name, String page);

        void getBanner();
    }
}
